﻿
namespace SHZY.Business.Entitys.Dto.customercomplaint
{
    /// <summary>
    /// 客户投诉主表输出参数.
    /// </summary>
    public class QmsBusiCustomerComplaintInfoOutput
    {
        /// <summary>
        /// Guid.
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 工单编号.
        /// </summary>
        public string no { get; set; }

        /// <summary>
        /// 客户编码.
        /// </summary>
        public string customerNo { get; set; }

        /// <summary>
        /// 客户名称.
        /// </summary>
        public string customerName { get; set; }

        /// <summary>
        /// 反馈阶段.
        /// </summary>
        public string feedbackStage { get; set; }

        /// <summary>
        /// 反馈人.
        /// </summary>
        public string feedbackUserName { get; set; }

        /// <summary>
        /// 反馈日期.
        /// </summary>
        public DateTime? feedbackDate { get; set; }

        /// <summary>
        /// 反馈方式.
        /// </summary>
        public string feedbackWay { get; set; }

        /// <summary>
        /// 反馈单号.
        /// </summary>
        public string feedbackNo { get; set; }

        /// <summary>
        /// 抱怨类型.
        /// </summary>
        public string complaintType { get; set; }

        /// <summary>
        /// 产品名称.
        /// </summary>
        public string productName { get; set; }

        /// <summary>
        /// 缺陷类别.
        /// </summary>
        public string defectCategory { get; set; }

        /// <summary>
        /// 问题描述.
        /// </summary>
        public string problemDescription { get; set; }

        /// <summary>
        /// 调查人.
        /// </summary>
        public string checkUserId { get; set; }

        /// <summary>
        /// 调查日期.
        /// </summary>
        public DateTime? checkDate { get; set; }

        /// <summary>
        /// 发生原因.
        /// </summary>
        public string checkCause { get; set; }

        /// <summary>
        /// 流出原因.
        /// </summary>
        public string checkCauseOut { get; set; }

        /// <summary>
        /// 根本原因.
        /// </summary>
        public string checkCauseRoot { get; set; }

        /// <summary>
        /// 问题类别.
        /// </summary>
        public string checkProblem { get; set; }

        /// <summary>
        /// 是否重复.
        /// </summary>
        public string checkDuplicate { get; set; }

        /// <summary>
        /// 是否重大.
        /// </summary>
        public string checkMajor { get; set; }

        /// <summary>
        /// 反馈现场的处理对策.
        /// </summary>
        public string tcProcessing { get; set; }

        /// <summary>
        /// 不良发生的拦截对策.
        /// </summary>
        public string tcIntercept { get; set; }

        /// <summary>
        /// 计划完成时间.
        /// </summary>
        public DateTime? tcPlannedDate { get; set; }

        /// <summary>
        /// 责任人.
        /// </summary>
        public string tcResponsible { get; set; }

        /// <summary>
        /// 防止发生.
        /// </summary>
        public string lcPrevention { get; set; }

        /// <summary>
        /// 防止流出.
        /// </summary>
        public string lcLeakage { get; set; }

        /// <summary>
        /// 计划完成时间.
        /// </summary>
        public DateTime? lcPlannedDate { get; set; }

        /// <summary>
        /// 责任人.
        /// </summary>
        public string lcResponsible { get; set; }

        /// <summary>
        /// 实际完成时间.
        /// </summary>
        public DateTime? lcActualDate { get; set; }

        /// <summary>
        /// 执行状态0未关闭 1关闭.
        /// </summary>
        public int? lcStatus { get; set; }

        /// <summary>
        /// 责任主管.
        /// </summary>
        public string qualityManager { get; set; }

        /// <summary>
        /// 材料费.
        /// </summary>
        public decimal qualityMaterial { get; set; }

        /// <summary>
        /// 返工费.
        /// </summary>
        public decimal qualityRework { get; set; }

        /// <summary>
        /// 运输费.
        /// </summary>
        public decimal qualityFreight { get; set; }

        /// <summary>
        /// 差旅费.
        /// </summary>
        public decimal qualityTravel { get; set; }

        /// <summary>
        /// 客户扣款.
        /// </summary>
        public decimal qualityCDeductions { get; set; }

        /// <summary>
        /// 预估挽回损失.
        /// </summary>
        public decimal qualityEstimated { get; set; }

        /// <summary>
        /// 合计金额.
        /// </summary>
        public decimal qualityTotalAmount { get; set; }

        /// <summary>
        /// 备注.
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 关闭人.
        /// </summary>
        public string cancelUserId { get; set; }

        /// <summary>
        /// 关闭日期.
        /// </summary>
        public DateTime? cancelDate { get; set; }

        /// <summary>
        /// 状态.
        /// </summary>
        public int? status { get; set; }

        /// <summary>
        /// 问题归属.
        /// </summary>
        public string problemAttribution { get; set; }

    }
}
